package loader

type CfgSlice []CfgItem

type CfgItem struct {
	Key, Value any
}

type LoaderService interface {
	// 从字节流加载
	LoadFromByte(data []byte) (cfgs CfgSlice,err error)
	// 从资源路径加载
	LoadFromURI(uri string) (cfg CfgSlice,err error)
}
